package cn.itcast.dao;

import cn.itcast.domain.Account;

import java.util.List;

public interface AccountDao {
//    增
    int add(Account account)throws Exception;
//    删
    int delete(Integer id)throws Exception;
//    改
    int update(Account account)throws Exception;
//    查
   List<Account>findAll()throws Exception;
}
